package string;

public class ReverseString {
	//字符串反转
	public static String process(String str){
		StringBuffer sb = new StringBuffer();
		sb.append(str);
		return sb.reverse().toString();
	}
	public static void main(String args[]){
		String result = ReverseString.process("1234567 去小胡家捉小鸡!");
		System.out.print(result);
	}

}
